﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Site.Domain.Core.Abstract
{

    public interface IPage
    {
        string Name { get; set; }
        string Title { get; set; }
        ILayout Layout { get; set; }
        ICollection<IBlock> Blocks { get; }
        int BlockCount();
        PageSize Size { get; set; }
        event EventHandler OnPageRearranged;
    }

    public struct  PageSize
    {
        public int Width { get; set; }
        public int Height { get; set; }
    }

}
